import { defineStore } from 'pinia'
import {ref} from 'vue'
export const useFlagStore = defineStore('flag', () => {
  const flag = ref<boolean>(false)
 
  const changeFlag = ()=>{
    flag.value = !flag.value;
  }
  return { flag, changeFlag }
})